﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BankingApp.Models;
using BankingApp.Data;
using BankingApp.Data.Models;

namespace BankingApp.Adapters
{
    public class AccountMockAdapter : IBankingAdapter
    {
        public void CreateAccount(UserAccountViewModel model, string userId)
        {
            throw new NotImplementedException();
        }

        public List<UserAccountViewModel> GetAccount(string userId)
        {
            List<UserAccountViewModel> model = new List<UserAccountViewModel>();

            model.Add(
                new UserAccountViewModel
                {
                    AccountNumber = 1001,
                    Name = "Vanessa",
                    BankBalance = 100000,
                    LogInDate = DateTime.Now,
             
                });

            model.Add(
                new UserAccountViewModel
                {
                    AccountNumber = 2002,
                    Name = "Tre",
                    BankBalance = 100000,
                    LogInDate = DateTime.Now,
                });
            return model;
        }
    }
}